// src/routes/planets/planets.controller.js
const {getAllPlanets} = require('../../models/planets.model');
// 导⼊ planets 数据模型

function httpGetAllPlanets(req, res) {
    //console.log(planets)
    return res.status(200).json(getAllPlanets());
}
module.exports = {
    httpGetAllPlanets,
};